# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-vb
pkgver=0_git20200109
pkgrel=0
_commit="9a4e604a7320a3c6ed30601989fe0bc417fa9ad3"
pkgdesc="standalone port of Mednafen VB to libretro"
url="https://github.com/libretro/beetle-vb-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-vb-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-vb-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_vb_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_vb_libretro.so
}

sha512sums="5673d21086788d4ca664d037c1964477303d8ceab46534fd18a77fc3b9b995492c2883a500fc401ff7e6fe96f5c36b6640f0e03bd05d4cc632e786e851e16284  libretro-beetle-vb-9a4e604a7320a3c6ed30601989fe0bc417fa9ad3.tar.gz"
